import { defineStore } from 'pinia';
import { ref } from 'vue';

export const useSlidebarStore = defineStore('slidebar', () => {
  const expand = ref(true);

  function changeExpand(value: boolean) {
    expand.value = value;
  }

  return {
    expand,
    changeExpand
  };
});
